package day0526;

import java.util.Random;

public class Test6 {
    public static void main(String[] args) {
        Human h=new Human();
        h.name="张三";//1.1.
        h.age=0;
        String  n=h.name;//1.2.
        System.out.println(n);

        h.eat();
    }
}


class Human{
    String name;//1
    int age;//1
    public void eat(){//2
        System.out.println("吃");
    }
}